//формирование doc документа
if ($links[0]['name'] == "corp")
{
if ($_GET['action'] == "get-doc")
{
$GLOBALS['doc'] == "all";
header("Content-Type: application/msword");
header("Content-Disposition: attachment; filename=объявления.doc;");
header("Content-Transfer-Encoding: binary");
}
}
?>
Fatal error: Uncaught Error: Call to undefined function mysql_num_rows() in /home/www/an24.org/index.php:51
Stack trace:
#0 /home/www/an24.org/index.php(65): inc_ref_count('158', true)
#1 {main}
thrown in /home/www/an24.org/index.php on line 51